<div ng-include="'html/component/nav.html'" ng-controller="NavCtrl"></div>
<ul class="set_item" ng-include="'html/component/left_nav.html'" ng-controller="SettingNavCtrl"></ul>
<div class="set_box">
    <h1 class="set_title">测试页</h1>
    <div class="set_cont">
        <div class="common_table_wrap">
            <table class="common_table">
                <tr>
                    <td><textarea ng-model="sql" style="min-width:500px;"></textarea></td>
                    <td><button type="button" ng-click="execsql();">执行</button></td>
                </tr>
                <tr>
                    <td>
                        <button type="button" ng-click="claar_local();">清空localstorage</button>
                        <button type="button" ng-click="open_dev();">打开调试窗口</button>
                        <button type="button" ng-click="getAllPurview();">获取权限</button>
                        <button type="button" ng-click="goto_index();">去首页</button>

                    </td>
                    <td></td>
                </tr>
                <tr>
                    <td>
                        <button type="button" ng-click="test_data();">生成测试数据</button>
                    </td>
                    <td></td>
                </tr>
                <tr>
                    <td>
                        <button type="button" ng-click="test_city();">城市选择器</button>
                    </td>
                </tr>
                <td>
                    <button type="button" ng-click="getMyPurview();">查看权限</button>
                </td>
            </table>
            <ul ng-repeat="li in myPurview| orderBy:'purview_id':'true'">
                <li ng-show="{{li.show}}">{{$index}}.{{li.name}}---{{li.purview_id}}</li>
            </ul>
        </div>
    </div>
</div>